using System;
using System.Collections.Generic;

namespace Zhao.Models.AppletDto
{
    /// <summary>
    /// 场地预约信息
    /// </summary>
    public class FieldAppointmentInfo
    {
        /// <summary>
        /// 预约ID
        /// </summary>
        public int AppointmentId { get; set; }

        /// <summary>
        /// 场地名称
        /// </summary>
        public string FieldName { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string Stime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string Etime { get; set; }

        /// <summary>
        /// 预约状态：0-待支付，3-已预约，5-已完成，7-已取消
        /// </summary>
        public short Status { get; set; }

        /// <summary>
        /// 预约价格
        /// </summary>
        public decimal Price { get; set; }
    }

    /// <summary>
    /// 预约订单信息DTO
    /// </summary>
    public class AppointmentOrderDto
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 订单总金额
        /// </summary>
        public decimal TotalAmount { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public short? PaymentMethod { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime PaymentTime { get; set; }

        /// <summary>
        /// 订单创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public short OrderStatus { get; set; }

        /// <summary>
        /// 预约日期
        /// </summary>
        public string DisplayDate { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 用户手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 球馆ID
        /// </summary>
        public Guid VenueId { get; set; }

        /// <summary>
        /// 球馆名称
        /// </summary>
        public string VenueName { get; set; }

        /// <summary>
        /// 球馆地址
        /// </summary>
        public string VenueAddress { get; set; }

        /// <summary>
        /// 球馆客服电话
        /// </summary>
        public string VenuePhone { get; set; }

        /// <summary>
        /// 球馆图片
        /// </summary>
        public string VenueImage { get; set; }

        /// <summary>
        /// 场地预约信息集合
        /// </summary>
        public List<FieldAppointmentInfo> Info { get; set; }
    }
}